package  
{
  import flash.display.Sprite;
  import mge.Localization;
  import mge.LocalizationResult;
	/**
   * ...
   * @author ivan
   */
  public class ExportLockit extends Sprite
  {
    [Embed(source = '../res/localization.xml', mimeType = "application/octet-stream")]
    private var rLockit:Class;
    
    public function ExportLockit() 
    {
      var lockit:Localization = new Localization(new XML(new rLockit), "en");
      for (var i:int = 0; i < lockit.tags.length; i++)
      {
        var lr:LocalizationResult = lockit.translateEx(lockit.tags[i]);
        trace(lr.mood + "; " + lockit.dic[lockit.tags[i]].text["es"]);
      }
    }
    
  }

}